package com.example.controller;


import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ConsumerController {
    @GetMapping(value = "/actuator/info")
    @ResponseBody
    public String index(Model model)
    {
        return "this is from consumer!";
    }

}
